﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NangLuongTieuDiemDTO.DTO
{
    public class SanPhamDTO
    {
        #region "[khởi tạo mặc định]"
       public SanPhamDTO()
        {
            this.CongSuat = 0;
            this.Dai = 0;
            this.Day = 0;
            this.GhiChu = string.Empty;
            this.Gia = 0;
            this.HinhDang = string.Empty;
            this.ID = -1;
            this.Imp = 0;
            this.Isc = 0;
            this.LoaiSanPhamID = -1;
            this.NguonNhap = string.Empty;
            this.Rong = 0;
            this.TenSanPham = string.Empty;
            this.Vmp = 0;
            this.Voc = 0;
            this.Xoa = false;
        }
        #endregion

        #region "[Attributes]"
        private int m_ID;
        private string m_TenSanPham;
        private int m_LoaiSanPhamID;
        private double m_CongSuat;
        private string m_HinhDang;
        private double m_Dai;
        private double m_Rong;
        private double m_Day;
        private double m_Imp;
        private double m_Vmp;
        private double m_Isc;
        private double m_Voc;
        private string m_NguonNhap;
        private double m_Gia;
        private bool m_Xoa;
        private string m_GhiChu;
        #endregion

        #region "[Properties]"
        public int ID
        {
            get { return m_ID; }
            set { m_ID = value; }
        }


        public string TenSanPham
        {
            get { return m_TenSanPham; }
            set { m_TenSanPham = value; }
        }


        public int LoaiSanPhamID
        {
            get { return m_LoaiSanPhamID; }
            set { m_LoaiSanPhamID = value; }
        }


        public double CongSuat
        {
            get { return m_CongSuat; }
            set { m_CongSuat = value; }
        }


        public string HinhDang
        {
            get { return m_HinhDang; }
            set { m_HinhDang = value; }
        }


        public double Dai
        {
            get { return m_Dai; }
            set { m_Dai = value; }
        }


        public double Rong
        {
            get { return m_Rong; }
            set { m_Rong = value; }
        }


        public double Day
        {
            get { return m_Day; }
            set { m_Day = value; }
        }


        public double Imp
        {
            get { return m_Imp; }
            set { m_Imp = value; }
        }


        public double Vmp
        {
            get { return m_Vmp; }
            set { m_Vmp = value; }
        }


        public double Isc
        {
            get { return m_Isc; }
            set { m_Isc = value; }
        }


        public double Voc
        {
            get { return m_Voc; }
            set { m_Voc = value; }
        }


        public string NguonNhap
        {
            get { return m_NguonNhap; }
            set { m_NguonNhap = value; }
        }


        public double Gia
        {
            get { return m_Gia; }
            set { m_Gia = value; }
        }

        public bool Xoa
        {
            get { return m_Xoa; }
            set { m_Xoa = value; }
        }


        public string GhiChu
        {
            get { return m_GhiChu; }
            set { m_GhiChu = value; }
        }
        #endregion
    }
}
